package com.ktjiaoyu.ktmall.dao;

import com.ktjiaoyu.ktmall.entity.Category;

import java.util.List;

public interface CategoryDao {

    // 查询所有分类
    public List<Category> findAll();

    // 添加分类
    public int insert(Category category);
    //修改
    public int update(Category category);

    // 删除
    public int delete(Long id);
}
